<?php
class ControllerCommonProduct extends Controller
{
	public function getProduct()
	{
		$this->load->model("core/media");
		$mediaid = $this->request->get['productid'];
		$media = $this->model_core_media->getItem($mediaid);
		$this->data['output'] = json_encode(array('media' => $media));;
		$this->id="content";
		$this->template="common/output.tpl";
		$this->render();
	}
}
?>